<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>router-link</title>
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_871880_oobuo8cvknm.css" rel="external nofollow" >
   <script src="http://at.alicdn.com/t/font_871880_oobuo8cvknm.js"></script>
    <script>
			/*相当于百分比了，所以代码就可设计的东西以用*/
			function resetFont() {
				var HTML = document.getElementsByTagName('html')[0];
				var ww = document.documentElement.clientWidth;
				var scale = ww / 750; //640是设计图psd的宽度
				HTML.style.fontSize = 100 * scale + 'px';
			}
			resetFont();
			window.onresize = function() {
				resetFont();
			}
		</script>
  </head>
  <body>
    
    <div id="app">
    <router-view></router-view>
    </div>
    <!-- built files will be auto injected -->
  </body>
</html>
